﻿@model Bids.Core.DomainObjects.User
@{
    ViewBag.Title = "Edit";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutAdmin.cshtml";
}

@section head{
<script src="/js/pcasunzip.js")" type="text/javascript" charset="gb2312"></script>
}

    <div class="mytopmodel" >
        编缉模块：&nbsp;&nbsp;
    </div>

    <form method="post" id="myform" name="myform" action="@Url.Action("Edit")">
        <div class="maindiv">
            <table cellspacing="1" id="editTable" cellpadding="3" style=" ">
                 <tr>
                <td class="text">登录名：</td>
                <td class="control">@Model.UserName</td>
                                    <td rowspan="4" class="controlimg">
                            <input name="HeadPortrait" id="HeadPortrait" type="hidden" value="@Model.HeadPortrait" />
                            <a href="javascript:swfupload('@Url.Action("Index", "Upload")','img','HeadPortrait','HeadPortrait')"><img src="@Model.HeadPortrait" id="img" width="150" height="150" /></a>
                        
                    </td>
                </tr>
                <tr>
                    <td class="text" >昵称：</td>
                    <td class="control"><input type="text" name="Phone" value="@Model.NickName" ></input> </td>
                </tr>
                <tr>
                    <td class="text" >密码：</td>
                    <td class="control"><input type="text" name="NewPassword" value="" ></input> 留空则不修改 </td>
                </tr>
                <tr>
                    <td class="text" >用户类型：</td>
                    <td class="control">@Model.UserType.ToString()</td>
                </tr>
                 <tr>
                    <td class="text" >电话：</td>
                    <td class="control"><input type="text" name="Phone" value="@Model.Phone" ></input> </td>
                </tr>
                <tr>
                    <td class="text" >年龄：</td>
                    <td class="control"><input type="text" name="Age" value="@Model.Phone" ></input> </td>
                </tr>

                

                <tr>
                    <td class="text" >电子邮件：</td>
                    <td class="control"><input type="text" name="Email" value="@Model.Email"  ></input> </td>
                </tr>

                

                <tr>
                    <td class="text" >地区：</td>
                    <td colspan="2"  class="control"><select name="Province"></select><select name="City"></select><select name="Areas"></select> </td>
                </tr>

                <tr>
                    <td class="text" >地址：</td>
                    <td colspan="2" class="control"><input type="text" name="Address" value="@Model.Address" style=" width:300px; "  ></input> </td>
                </tr>

             

                
               
                 
                
                

                
               <tr>
                    <td class="text" ></td>
                    <td colspan="2" class="control">
                       <input name="imgpath" id="imgpath" type="hidden" value="" />
                       <div class="impBtn hMargin fLeft shadow" ><input type="submit" value="提交" onclick="" class="save imgButton"></div>
                       <div class="impBtn hMargin fLeft shadow" ><input type="reset" value="清空" onclick="" class="reset imgButton"></div>
                       
                       <a href="javascript:history.back(-1)" >[&nbsp;返回&nbsp;] </a>                   </td>
                </tr>
            </table>
            
         
        </div>
   </form>

   <script type="text/javascript" language="javascript">

       new PCAS("Province", "City", "Areas", "@Model.Province", "@Model.City", "@Model.Area");
       
    </script>